Buckaroo\Woocommerce\Order\OrderDetails A

Total Complexity 53
Dependencies 5
Dependents 11
Total lines 439
Lines of code 193
Logical lines of code 80
Comment lines 159
Methods 32
Properties 1

Methods 32

Method Rating Maintainability Complexity Lines of code
cleanup_phone()
S
60 7 12
cleanupPhone()
S
63 6 9
get()
S
59 4 15
getAddressComponents()
S
57 2 16
get_shipping()
S
68 2 7
getInitials()
S
67 2 7
get_full_name()
S
69 2 6
getShipping()
S
68 2 7
get_initials()
S
67 2 7
get_item()
S
65 2 10
get_billing_phone()
S
75 1 5
get_shipping_phone()
S
75 1 5
get_meta()
S
79 1 3
get_shipping_address_components()
S
73 1 5
get_billing()
S
78 1 3
get_billing_address_components()
S
73 1 5
get_total()
S
80 1 3
get_currency()
S
81 1 3
__construct()
S
81 1 3
add_meta()
S
78 1 3
update_meta()
S
79 1 3
get_order()
S
82 1 3
get_items_for_capture()
S
70 1 7
get_fees()
S
75 1 5
get_shipping_items()
S
75 1 5
get_products()
S
75 1 5
getShippingPhone()
S
75 1 5
getBillingPhone()
S
75 1 5
getShippingAddressComponents()
S
73 1 5
getBillingAddressComponents()
S
73 1 5
getBilling()
S
78 1 3
formatOrderItems()
S
69 1 8